﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using CPPProject.Authorization.Roles;
using CPPProject.Authorization.Users;
using CPPProject.MultiTenancy;
using CPPProject.CPP;

namespace CPPProject.EntityFrameworkCore
{
    public class CPPProjectDbContext : AbpZeroDbContext<Tenant, Role, User, CPPProjectDbContext>
    {
        /* Define a DbSet for each entity of the application */
        
        public CPPProjectDbContext(DbContextOptions<CPPProjectDbContext> options)
            : base(options)
        {
        }

        public DbSet<CPPAccount> CPPAccount { get; set; }
        public DbSet<CPPAttachment> CPPAttachment { get; set; }
        public DbSet<CPPCarrier> CPPCarrier { get; set; }
        public DbSet<CPPCategory> CPPCategory { get; set; }
        public DbSet<CPPCompany> CPPCompany { get; set; }
        public DbSet<CPPCustomer> CPPCustomer { get; set; }
        public DbSet<CPPOrderDtl> CPPOrderDtl { get; set; }
        public DbSet<CPPOrderHed> CPPOrderHed { get; set; }
        public DbSet<CPPPart> CPPPart { get; set; }
        public DbSet<CPPPartBin> CPPPartBin { get; set; }
        public DbSet<CPPPartBOM> CPPPartBOM { get; set; }
        public DbSet<CPPPartTrans> CPPPartTrans { get; set; }
        public DbSet<CPPPlant> CPPPlant { get; set; }
        public DbSet<CPPRoleMenu> CPPRoleMenu { get; set; }
        public DbSet<CPPContract> CPPContract { get; set; }
        public DbSet<CPPContractDetail> CPPContractDetail { get; set; }
        public DbSet<CPPSequence> CPPSequence { get; set; }

        

    }
}
